<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.qifan.alb2b.domain.CountryInfoDomain"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>易能旅游网站</title>
	<%@ include file="/pages/common/common_f.jsp" %>	
	
	<script type="text/javascript">
		$(function(){	
			$(".vertical-border").height($(".content").height());//竖线随着父容器变化
		});
				
	</script>	
  </head>
  <body style="margin:0;padding:0;height:100%;overflow:scroll;background:#F2FBFF">
  	<div class="main">
		<jsp:include page="/pages/front/inc/header.jsp"></jsp:include><!-- 顶部导航 -->
		<div class="info">
			<span class="location"><span style="font-weight: bold;">位置：</span>首页>新闻咨询</span>
			<span class="user"><jsp:include page="/pages/front/inc/login_info.jsp"/></span>
		</div>
		<div class="content">
			<div class="left">
				<ul id="tt1" class="easyui-tree" animate="true">
	<li>
		<span>最新动态</span>

		<ul>
			<li>
				<a href="${ctx}/frontNews/getNews.usr?type=1">行业动态</a>
				
			</li>
			<li>
				
				<a href="${ctx}/frontNews/getNews.usr?type=0">公司动态</a>
			</li>
			<li>
			
				<a href="${ctx}/frontNews/getNews.usr?type=2">其他</a>
			</li>
			
		</ul>
	</li>
</ul>
			</div>
			<div class="right" id="right">
			<table width="100%">
			<c:choose>
	<c:when test="${empty news}">
	<tr>
		<td>暂时还没有动态信息</td>
	</tr>
	</c:when>
	<c:otherwise>
				<c:forEach items="${news}" var="news">
				<tr>
				<td align="center">
				<h1>${news.newsTitle}</h1>
				</td>
				</tr>
				<tr>
				<td align="center">
				${news.publicTime}
				</td>
				</tr>
				<tr>
				<td>
				&nbsp;&nbsp;&nbsp;&nbsp;${news.newsContent}
				</td>
				</tr>
					</c:forEach>
					</c:otherwise>
</c:choose>
</table>		
			</div><!-- end right -->
		
			<div class="vertical-border"></div><!-- center border-line -->
		</div><!-- end content -->
	</div><!-- end main -->
	

</body>

</html>
